package ycl.security.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import ycl.common.ApiResult;
import ycl.common.config.NativeFeignConfig;
import ycl.common.models.base.A;
import ycl.security.feign.fallback.MessageFeignFallback;

/**
 * 消息模块
 *
 * @author ycl
 * @date 2022/6/21 0021 23:58:33
 */
@FeignClient(
		value = "ycl-message",
		fallback = MessageFeignFallback.class,
		configuration = NativeFeignConfig.class
)
public interface MessageFeign {

	@GetMapping("/email/test")
	ApiResult<A> test();
}
